/* 
 * File:   DefaultValues.h
 * Author: mauro
 *
 * Created on 9 de octubre de 2014, 16:38
 */

#ifndef DEFAULTVALUES_H
#define	DEFAULTVALUES_H

#define INITIAL_LIFES 2
#define INITIAL_SCORE 0

#define BOSS_INITIAL_LIFES 10

#define GROUPINDEXPLATFORM -1
#define GROUPINDEXEDGE -2
#define GROUPINDEXCHARACTER -4
#define GROUPINDEXENEMY -8
#define GROUPINDEXCRAZYBALL 0

#define POINTSBONUS 100
#define POINTSKILLENEMY 300


#define SCREEN_WIDTH 800
#define SCREEN_HEIGHT 600
#define CHARACTER_1_WIDTH 79
#define CHARACTER_1_HEIGHT 112
#define CHARACTER_2_WIDTH 91
#define CHARACTER_2_HEIGHT 113
#define CHARACTER_3_WIDTH 63
#define CHARACTER_3_HEIGHT 114
#define CHARACTER_4_WIDTH 113
#define CHARACTER_4_HEIGHT 100
#define PRINCIPAL_SCALE 1
#define BONUS_FLASH_WIDTH 50
#define BONUS_FLASH_HEIGHT 98
#define BONUS_LIFE_WIDTH 77
#define BONUS_LIFE_HEIGHT 60

#define DEFAULT_POLYGONS_N_SIZE 5
#define DEFAULT_MASS 2
#define DEFAULT_ROTATION 0.0
#define DEFAULT_COLOR "#FF66B2"
#define DEFAULT_STATE true //true:for static false: for dynamic

#define GAME_NAME "Snow Bross S"
#define DEFAULT_LOGICAL_W 800
#define DEFAULT_LOGICAL_H 600
#define SCREEN_BACKGROUND "Img/defaultBackground.png"
#define WORLD_GRAVITY 9.8
#define CHARACTER_POSITION_X 50
#define CHARACTER_POSITION_Y 10

#define MY_LOG_MODE 0 //0:INFO, WARNINGS, ERRORS ; 1:WARNINGS, ERRORS ; 2: ERRORS

#define INVALID_DATATYPE_ERROR = -1
#define INVALID_OBJECTTYPE_ERROR = -2

//userData
#define TO_KICK -2
#define TO_DELETE -1
#define NOT_CONTACT_GROUND 0
#define IN_CONTACT_GROUND 1
#define IS_FLOOR 3
#define IS_CHARACTER 4
#define IS_BONUS_FLASH 5
#define IS_BONUS_LIFE 6
#define IS_ENEMY 7
#define IS_FIRE 8
#define IS_BULLET 9
#define IS_ENEMY_CAUGHT 10
#define IS_CRAZY_BALL 11
#define THE_BOSS 12

//Objets
#define VACIO 0
#define RECTANGLE 1
#define CIRCLE 2
#define PARALLELOGRAM 3
#define TRAPEZIUM 4
#define TRIANGLE 5
#define PENTAGON 6
#define HEXAGON 7
#define BONUS 8
#define BULLET 9

//idBonus
#define BONUS_FLASH 1
#define BONUS_LIFE 2

//bonusSettings
#define CANT_BONUS 8
#define PROBA_BONUS 1
 
//stateCharacter
#define JUMPING 1
#define KNEELING 2
#define FALLING 3
#define WALKING 4
#define WAITING 5
#define DEAD 6    
#define CAUGHT 7
#define ESCAPING 8
#define REBORN 9
#define ATTACKING 10
#define ATTACKED 11
#define WATCHING 12

#define ID_WINDOW 'W'
#define ID_END_SEND -1

#define FRICTION 8

//server , client
#define ERROR -1  //error en el socket.
#define OFF 0
#define GARBAGE 9
//shoot
#define SHOOTLEFT -1 
#define SHOOTRIGHT 1 
#define BULLET_DEAD 1
#define BULLET_OLD 2

#endif	/* DEFAULTVALUES_H */

